package com.hbusa.dao;

import com.hbusa.dto.TbPicture;

import java.util.List;

/**
 * @author XiaoXin
 * @date 2021/12/26 - 23:57
 */


public interface ImageDao {
    boolean add(TbPicture img);

    boolean removeById(int id);

    TbPicture queryById(int id);

    List<TbPicture> queryAll();

    boolean update(int id, TbPicture img);
}
